<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />   
    <title>DasLog - View your Rails logs with ease</title>
    <%= javascript_include_tag 'prototype', 'effects', 'das_log'%>
    <%= stylesheet_link_tag 'das_log' %>
  </head>
  <body>
    <div id="busy" style="display:none">
     loading...
    </div>
    <h1>DasLog</h1>
    <div>
      <label>Select a log</label>
      <%= select_tag :das_log, options_for_select(@logs) %>
      <a href="#" id="refresh" style="display:none">Refresh</a>
      <a href="#" id="clear_log" style="display:none">Clear Log</a>
    </div>
    <div>
      <pre id="log_viewer"></pre>
    </div>
  </body>
</html>